package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.List;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 仓库用户管理对象 sys_client
 * 
 * @author ruoyi
 * @date 2023-12-10
 */
public class SysClient extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 用户名 */
    @Excel(name = "用户名")
    private String clientName;

    /** 邮箱地址 */
    @Excel(name = "邮箱地址")
    private String emailAddr;

    /** 密码 */
    private String password;

    /** 钱包余额 */
    @Excel(name = "钱包余额")
    private BigDecimal walletBalance;

    /** 钱包密钥 */
    @Excel(name = "钱包密钥")
    private String walletKey;

    /** 钱包审核状态 */
    @Excel(name = "钱包审核状态")
    private Integer walletStatus;

    /** 机器人数量 */
    @Excel(name = "机器人数量")
    private Integer robotNum;

    /** 机器人超时时间 */
    @Excel(name = "机器人超时时间")
    private String robotExTime;

    /** 注册时间 */
    @Excel(name = "注册时间")
    private String registeredTime;

    private List<SysClientRobot> robots;


    public void setRobots(List<SysClientRobot> robots){
        this.robots=robots;
    }
    public List<SysClientRobot> getRobots(){
        return this.robots;
    }
    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setClientName(String clientName) 
    {
        this.clientName = clientName;
    }

    public String getClientName() 
    {
        return clientName;
    }
    public void setEmailAddr(String emailAddr) 
    {
        this.emailAddr = emailAddr;
    }

    public String getEmailAddr() 
    {
        return emailAddr;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setWalletBalance(BigDecimal walletBalance) 
    {
        this.walletBalance = walletBalance;
    }

    public BigDecimal getWalletBalance() 
    {
        return walletBalance;
    }
    public void setWalletKey(String walletKey) 
    {
        this.walletKey = walletKey;
    }

    public String getWalletKey() 
    {
        return walletKey;
    }
    public void setWalletStatus(Integer walletStatus)
    {
        this.walletStatus = walletStatus;
    }

    public Integer getWalletStatus()
    {
        return walletStatus;
    }
    public void setRobotNum(Integer robotNum)
    {
        this.robotNum = robotNum;
    }

    public Integer getRobotNum()
    {
        return robotNum;
    }
    public void setRobotExTime(String robotExTime) 
    {
        this.robotExTime = robotExTime;
    }

    public String getRobotExTime() 
    {
        return robotExTime;
    }
    public void setRegisteredTime(String registeredTime) 
    {
        this.registeredTime = registeredTime;
    }

    public String getRegisteredTime() 
    {
        return registeredTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("clientName", getClientName())
            .append("emailAddr", getEmailAddr())
            .append("password", getPassword())
            .append("walletBalance", getWalletBalance())
            .append("walletKey", getWalletKey())
            .append("walletStatus", getWalletStatus())
            .append("robotNum", getRobotNum())
            .append("robotExTime", getRobotExTime())
            .append("registeredTime", getRegisteredTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("remark", getRemark())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
